package com.lin.pay.mall.domain.order.model.entity;

import com.lin.pay.mall.domain.order.model.valobj.OrderStatusVO;
import com.lin.pay.mall.domain.order.model.valobj.PayStatusVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 支付单实体
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PayOrderEntity {

    /**
     * 用户ID
     */
    private String userId;
    /**
     * 订单ID
     */
    private String orderId;
    /**
     * 支付地址；创建支付后，获得的URL地址
     */
    private String payUrl;


    /**
     * 订单状态
     */
    private OrderStatusVO orderStatus;

}
